<%@ page language="java" import="java.util.*,java.text.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>Talk-Zone</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">


<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
<link rel="stylesheet" href="css/cikonss.css" />
<link rel="stylesheet" href="css/font-awesome.min.css">
<script src="js/jquery-2.0.3.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</head>
<body>
	<table class="table table-striped" >
			<thead>
				<tr>					
					<th width="20px">标题</th>
					<th width="20px">内容</th>
					<th width="20px">时间</th>
					<th width="20px">好友</th>
				</tr>
			</thead>
			<tbody>
				<s:iterator value="messageList">
					<tr>
						
						<td><s:property value="title" /></td>
						<td><s:property value="content" /></td>
						<td><s:property value="createdate" />
						<td><s:property value="user.id" /></td>
					</tr>
				</s:iterator>
			</tbody>

		</table>
</body>
</html>
